package com.dragon.modules.yuegou.service.member;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.member.AppleidRefEntity;
import com.dragon.modules.yuegou.model.member.Member;

/**
 * 苹果登录ID与会员关系表 服务接口
 *
 * @author pbuilder generated
 * @date 2020-04-08 14:36:51
 * @version 2.0
 */
public interface AppleidRefService extends IService<AppleidRefEntity> {

	/**
	 * 根据苹果登录ID查找对应会员信息
	 * @param appleId
	 * @return 会员信息
	 */
	Member getMemberByAppleId(String appleId);

	/**
	 * 创建关键
	 * @param memberId
	 * @param appleId
	 */
	void createRef(String memberId, String appleId);

}